package com.example.mapper;

import com.example.entity.Questions;

import java.util.List;

public interface QuestionsMapper {

    /*
     * 新增
     * */
    int insert(Questions questions);

    /*
     * 删除
     * */
    void deleteById(Integer id);

    /*
     * 修改
     * */
    int updateById(Questions questions);

    /*
     * 根据ID查询
     * */
    Questions selectById(Integer id);

    /*
     * 查询所有
     * */
    List<Questions> selectAll(Questions questions);
}
